package com.wangwen.wechatmp.dao.base;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.NoRepositoryBean;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate;

import java.io.Serializable;

/**
 * Created by wangwei on 2018/9/19.
 * 基础Dao  可在dao层使用jpa规范
 */

@NoRepositoryBean
public interface BaseDao<T,PK extends Serializable>  extends PagingAndSortingRepository<T, PK>,
        JpaSpecificationExecutor<T>{
}